package com.quanyan.authority.mapper;

import com.quanyan.authority.model.db.TbMenu;
import com.quanyan.authority.model.db.TbRoleMenu;
import com.quanyan.authority.model.response.RespMenu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by Administrator on 2016/8/1.
 */
public interface RoleMenuMapper {

    public void batchAdd(@Param("list")List<TbRoleMenu> list);

    public List<TbMenu> findMenuByUid(@Param("uid") Integer uid);

    public void batchDelete(@Param("list")List<TbRoleMenu> list);
}
